home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 98 / Skunkware 98.iso / src / net / bind-contrib.tar.gz / bind-contrib.tar / contrib / nextstep / next_diffs
Text File  |  1997-05-06  |  20KB  |  621 lines

  1. *** ../bind-8.1-T4B-with-T5B/src/bin/named/ns_main.c    Sat May  3 20:46:35 1997
  2. --- src/bin/named/ns_main.c    Sat May  3 19:23:09 1997
  3. ***************
  4. *** 814,820 ****
  5.               ifreq.ifr_addr.sa_len = 16;
  6.   #endif
  7.           cpsize = sizeof ifreq.ifr_name + ifreq.ifr_addr.sa_len;
  8. ! #elif defined SIOCGIFCONF_ADDR
  9.           cpsize = sizeof ifreq;
  10.   #else
  11.           cpsize = sizeof ifreq.ifr_name;
  12. --- 814,820 ----
  13.               ifreq.ifr_addr.sa_len = 16;
  14.   #endif
  15.           cpsize = sizeof ifreq.ifr_name + ifreq.ifr_addr.sa_len;
  16. ! #elif defined( SIOCGIFCONF_ADDR ) || defined(__NeXT__)
  17.           cpsize = sizeof ifreq;
  18.   #else
  19.           cpsize = sizeof ifreq.ifr_name;
  20. *** ../bind-8.1-T4B-with-T5B/src/lib/resolv/res_debug.c    Thu Apr 24 15:22:26 1997
  21. *** /dev/null    Sat May  3 19:58:24 1997
  22. --- src/port/next/Makefile    Wed Apr 30 22:38:45 1997
  23. ***************
  24. *** 0 ****
  25. --- 1,87 ----
  26. + # Copyright (c) 1996 by Internet Software Consortium
  27. + #
  28. + # Permission to use, copy, modify, and distribute this software for any
  29. + # purpose with or without fee is hereby granted, provided that the above
  30. + # copyright notice and this permission notice appear in all copies.
  31. + #
  32. + # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
  33. + # ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
  34. + # OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
  35. + # CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
  36. + # DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
  37. + # PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
  38. + # ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  39. + # SOFTWARE.
  40. + # $Id: next_diffs,v 1.1 1997/05/06 22:46:56 vixie Exp $
  41. + # these are only appropriate for BSD 4.4 or derivatives, and are used in
  42. + # development.  normal builds will be done in the top level directory and
  43. + # this Makefile will be invoked with a lot of overrides for the following:
  44. + SYSTYPE= next
  45. + DESTDIR =
  46. + DESTLIB = /usr/local/lib
  47. + O=o
  48. + A=a
  49. + CC= gcc
  50. + LD= ld
  51. + SHELL= /bin/sh
  52. + CDEBUG= -O9
  53. + TOP= ../..
  54. + INCL = ${TOP}/include
  55. + PORTINCL = ${TOP}/port/${SYSTYPE}/include
  56. + LIBBIND = ${TOP}/lib/libbind.${A}
  57. + LIBPORT = ${TOP}/port/libport.${A}
  58. + CFLAGS=    ${CDEBUG} -I${PORTINCL} -I${INCL}
  59. + LD_LIBFLAGS= -x -r
  60. + AR= ar cruv
  61. + RANLIB= ranlib
  62. + INSTALL= install
  63. + SUBDIRS= include
  64. + SRCS=    noop.c
  65. + OBJS=    noop.${O}
  66. + MARGS= DESTDIR="${DESTDIR}" DESTINC="${DESTINC}" INSTALL="${INSTALL}"
  67. + all depend clean distclean install::
  68. +     @for x in ${SUBDIRS}; do \
  69. +         (cd $$x; pwd; ${MAKE} ${MARGS} $@); \
  70. +     done
  71. + all:: ${LIBPORT}
  72. + ${LIBPORT}: ${OBJS}
  73. +     ${AR} ${LIBPORT} ${ARPREF} ${OBJS} ${ARSUFF}
  74. +     ${RANLIB} ${LIBPORT}
  75. + .c.${O}:
  76. +     ${CC} ${CPPFLAGS} ${CFLAGS} -c $*.c
  77. +     -${LDS} ${LD} ${LD_LIBFLAGS} $*.${O}
  78. +     ${LDS} mv a.out $*.${O}
  79. + distclean:: clean
  80. + clean:: FRC
  81. +     rm -f .depend a.out core ${LIBPORT} tags
  82. +     rm -f *.${O} *.BAK *.CKP *~
  83. + depend:: FRC
  84. +     mkdep -I${INCL} -I${PORTINCL} ${CPPFLAGS} ${SRCS}
  85. + links: FRC
  86. +     @set -e; ln -s SRC/*.[ch] SRC/bin SRC/Makefile.set SRC/probe .
  87. +     @set -e; for x in ${SUBDIRS}; do \
  88. +         ( mkdir $$x; cd $$x; pwd; ln -s ../SRC/$$x SRC; \
  89. +         cp SRC/Makefile Makefile; chmod +w Makefile; \
  90. +         ${MAKE} ${MARGS} links ); \
  91. +     done
  92. + install:: FRC
  93. + FRC:
  94. + # DO NOT DELETE THIS LINE -- mkdep uses it.
  95. + # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
  96. *** /dev/null    Sat May  3 19:58:24 1997
  97. --- src/port/next/Makefile.set    Sat May  3 16:31:41 1997
  98. ***************
  99. *** 0 ****
  100. --- 1,17 ----
  101. + 'CC=gcc -posix -fno-exceptions'
  102. + 'CDEBUG=-O9'
  103. + 'DESTBIN=/usr/bin'
  104. + 'DESTSBIN=/usr/etc'
  105. + 'DESTEXEC=/usr/etc'
  106. + 'DESTMAN=/usr/local/man'
  107. + 'DESTHELP=/usr/lib'
  108. + 'LEX=lex -I'
  109. + 'YACC=yacc -d'
  110. + 'SYSLIBS=-ll'
  111. + 'INSTALL=install'
  112. + 'MANDIR=cat'
  113. + 'MANROFF=(tbl|nroff -man)'
  114. + 'CATEXT=0'
  115. + 'PS=ps'
  116. + 'RANLIB=ranlib'
  117. + 'AR=ar cr'
  118. *** /dev/null    Sat May  3 19:58:24 1997
  119. --- src/port/next/include/Makefile    Mon Mar 10 08:45:52 1997
  120. ***************
  121. *** 0 ****
  122. --- 1,91 ----
  123. + # ++Copyright++
  124. + # -
  125. + # Copyright (c) 
  126. + #    The Regents of the University of California.  All rights reserved.
  127. + # 
  128. + # Redistribution and use in source and binary forms, with or without
  129. + # modification, are permitted provided that the following conditions
  130. + # are met:
  131. + # 1. Redistributions of source code must retain the above copyright
  132. + #    notice, this list of conditions and the following disclaimer.
  133. + # 2. Redistributions in binary form must reproduce the above copyright
  134. + #    notice, this list of conditions and the following disclaimer in the
  135. + #    documentation and/or other materials provided with the distribution.
  136. + # 3. All advertising materials mentioning features or use of this software
  137. + #    must display the following acknowledgement:
  138. + #     This product includes software developed by the University of
  139. + #     California, Berkeley and its contributors.
  140. + # 4. Neither the name of the University nor the names of its contributors
  141. + #    may be used to endorse or promote products derived from this software
  142. + #    without specific prior written permission.
  143. + # 
  144. + # THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  145. + # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  146. + # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  147. + # ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  148. + # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  149. + # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  150. + # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  151. + # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  152. + # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  153. + # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  154. + # SUCH DAMAGE.
  155. + # -
  156. + # Portions Copyright (c) 1993 by Digital Equipment Corporation.
  157. + # 
  158. + # Permission to use, copy, modify, and distribute this software for any
  159. + # purpose with or without fee is hereby granted, provided that the above
  160. + # copyright notice and this permission notice appear in all copies, and that
  161. + # the name of Digital Equipment Corporation not be used in advertising or
  162. + # publicity pertaining to distribution of the document or software without
  163. + # specific, written prior permission.
  164. + # 
  165. + # THE SOFTWARE IS PROVIDED "AS IS" AND DIGITAL EQUIPMENT CORP. DISCLAIMS ALL
  166. + # WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES
  167. + # OF MERCHANTABILITY AND FITNESS.   IN NO EVENT SHALL DIGITAL EQUIPMENT
  168. + # CORPORATION BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
  169. + # DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
  170. + # PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
  171. + # ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  172. + # SOFTWARE.
  173. + # -
  174. + # --Copyright--
  175. + SUBDIRS = sys
  176. + HFILES =
  177. + DESTDIR=
  178. + DESTINC= /usr/local/include
  179. + INSTALL= install
  180. + MARGS= DESTDIR="${DESTDIR}" DESTINC="${DESTINC}" INSTALL="${INSTALL}"
  181. + all depend clean distclean install::
  182. +     @for x in ${SUBDIRS}; do \
  183. +         (cd $$x; pwd; ${MAKE} ${MARGS} $@); \
  184. +     done
  185. + distclean:: clean
  186. + clean::
  187. +     rm -f *~ *.BAK *.CKP *.orig
  188. + links: FRC
  189. +     @set -e; ln -s SRC/*.h .
  190. +     @set -e; for x in ${SUBDIRS}; do \
  191. +         ( mkdir $$x; cd $$x; pwd; ln -s ../SRC/$$x SRC; \
  192. +         cp SRC/Makefile Makefile; chmod +w Makefile; \
  193. +         ${MAKE} ${MARGS} links ); \
  194. +     done
  195. + install:: ${DESTDIR}${DESTINC}
  196. +     -for x in "" ${HFILES}; do \
  197. +         if [ -n "$$x" ]; then \
  198. +         ${INSTALL} -c -m 444 $$x ${DESTDIR}${DESTINC}/$$x; \
  199. +         fi; \
  200. +     done
  201. + ${DESTDIR}${DESTINC}:
  202. +     mkdir -p ${DESTDIR}${DESTINC}
  203. + FRC:
  204. *** /dev/null    Sat May  3 19:58:24 1997
  205. --- src/port/next/include/port_after.h    Sat May  3 17:04:48 1997
  206. ***************
  207. *** 0 ****
  208. --- 1,186 ----
  209. + #define NEED_DAEMON
  210. + #define HAVE_FCHMOD
  211. + #define HAVE_GETRUSAGE
  212. + #define NEED_INETATON
  213. + #define NEED_PSELECT
  214. + #define NEED_PUTENV
  215. + #define NEED_SETENV
  216. + #define HAVE_SETVBUF
  217. + #define NEED_STRDUP
  218. + #define NEED_TIMESPEC
  219. + #define    _PATH_PIDFILE "/etc/named.pid"
  220. + #define _PATH_NAMED   "/usr/etc/named"
  221. + #define _PATH_XFER    "/usr/etc/named-xfer"
  222. + #define _PATH_CONF    "/etc/named.boot"
  223. + #if defined(_POSIX_SOURCE)
  224. + # define USE_POSIX
  225. + #else
  226. + # define USE_UTIME
  227. + #endif
  228. + #include <ctype.h>
  229. + #include <errno.h>
  230. + #include <limits.h>
  231. + #include <stdlib.h>
  232. + #include <strings.h>
  233. + #include <time.h>
  234. + #include <sys/cdefs.h>
  235. + #include <sys/types.h>
  236. + #include <netinet/in.h>
  237. + #if defined(USE_POSIX)
  238. + # include <unistd.h>
  239. + # define POSIX_SIGNALS
  240. + # define isascii(c)    ((unsigned)(c)<=0177)
  241. + #else
  242. + # define STDIN_FILENO    0
  243. + # define STDOUT_FILENO    1
  244. + # define STDERR_FILENO    2
  245. +     typedef int    pid_t;
  246. + #endif /*USE_POSIX*/
  247. + # include <libc.h>
  248. + # define SIG_FN void        /* signal-catching functions return void */
  249. + #if defined(USE_POSIX) && !defined(sun) && !defined(__sgi) \
  250. +     && !defined(__convex__) && !defined(__ultrix) && !defined(_AUX_SOURCE)
  251. + # define PORT_NONBLOCK    O_NONBLOCK
  252. + # define PORT_WOULDBLK    EAGAIN
  253. + #else
  254. + # define PORT_NONBLOCK    O_NDELAY
  255. + # define PORT_WOULDBLK    EWOULDBLOCK
  256. + #endif
  257. + #if defined(USE_POSIX) || !defined(SYSV)
  258. + #define USE_WAITPID
  259. + #endif
  260. + #if !defined(USE_POSIX)
  261. + # undef WIFEXITED
  262. + # undef WEXITSTATUS
  263. + # undef WIFSIGNALED
  264. + # undef WTERMSIG
  265. + # define waitpid(x,y,z) (wait3(y,z,(struct rusage *)NULL))
  266. + # define WIFEXITED(x) (!(x & 0177))
  267. + # define WEXITSTATUS(x) (x >> 8)
  268. + # define WIFSIGNALED(x) ((x & 0177) && ((x & 0377) != 0177))
  269. + # define WTERMSIG(x) (x & 0177)
  270. + #endif
  271. + #if !defined(WAIT_T)
  272. + # define WAIT_T int
  273. + #endif
  274. + #include    <sys/stat.h>
  275. + #if !defined(_POSIX_SOURCE)
  276. + # define S_IRUSR      _S_IRUSR
  277. + # define S_IWUSR      _S_IWUSR
  278. + # define S_IRGRP      0000040
  279. + # define S_IWGRP      0000020
  280. + # define S_IROTH      0000004
  281. + # define S_IWOTH      0000002
  282. + # define S_ISFIFO(m)  ((m & S_IFMT) == S_IFIFO)
  283. + # define S_ISREG(m)   ((m & S_IFMT) == S_IFREG)
  284. + # define S_ISDIR(m)   (((m) & (_S_IFMT)) == (_S_IFDIR))
  285. + #endif
  286. + #include <sys/fcntl.h>
  287. + #if !defined(_POSIX_SOURCE)
  288. + # define O_NONBLOCK   O_NDELAY
  289. + #endif
  290. + #ifndef MIN
  291. + # define MIN(x, y)    ((x > y) ?y :x)
  292. + #endif
  293. + #ifndef MAX
  294. + # define MAX(x, y)    ((x > y) ?x :y)
  295. + #endif
  296. + #if !defined(_POSIX_SOURCE)
  297. + # define PATH_MAX    1024  
  298. + #endif
  299. + #include <sys/resource.h>
  300. + /*
  301. +  * Assume that a system has fchmod() unless something above says otherwise.
  302. +  */
  303. + #if !defined(HAVE_FCHMOD)
  304. + # define HAVE_FCHMOD XXX
  305. + #endif
  306. + /*
  307. +  * We need to know the IPv6 address family number even on IPv4-only systems.
  308. +  * Note that this is NOT a protocol constant, and that if the system has its
  309. +  * own AF_INET6, different from ours below, all of BIND's libraries and
  310. +  * executables will need to be recompiled after the system <sys/socket.h>
  311. +  * has had this type added.  The type number below is correct on most BSD-
  312. +  * derived systems for which AF_INET6 is defined.
  313. +  */
  314. + #ifndef AF_INET6
  315. + #define AF_INET6    24
  316. + #endif
  317. + /*
  318. +  * Prototype the functions we'll be supplying.
  319. +  */
  320. + #ifdef NEED_PUTENV
  321. + extern int putenv __P((char *));
  322. + #endif
  323. + #ifdef NEED_STRDUP
  324. + extern char *strdup __P((const char *));
  325. + #endif
  326. + #ifdef NEED_STRSEP
  327. + extern char *strsep __P((char **, const char *));
  328. + #endif
  329. + #ifdef NEED_TIMESPEC
  330. + struct timespec {
  331. +     time_t    tv_sec;        /* seconds */
  332. +     long    tv_nsec;    /* nanoseconds */
  333. + };
  334. + #endif
  335. + /* Use the system definitions of these
  336. +    functions rather then the redefinitions. */
  337. + #if 0
  338. + #undef    inet_addr        
  339. + #undef    inet_aton        
  340. + #undef    inet_lnaof        
  341. + #undef    inet_makeaddr        
  342. + #undef    inet_neta        
  343. + #undef    inet_netof        
  344. + #undef    inet_network        
  345. + #undef    inet_net_ntop        
  346. + #undef    inet_net_pton        
  347. + #undef    inet_ntoa        
  348. + #undef    inet_pton        
  349. + #undef    inet_ntop        
  350. + #undef    inet_nsap_addr        
  351. + #undef    inet_nsap_ntoa        
  352. + #endif
  353. *** /dev/null    Sat May  3 19:58:24 1997
  354. --- src/port/next/include/port_before.h    Mon Nov 18 01:10:25 1996
  355. ***************
  356. *** 0 ****
  357. --- 1,2 ----
  358. + #define WANT_IRS_NIS
  359. + #undef WANT_IRS_PW
  360. *** /dev/null    Sat May  3 19:58:24 1997
  361. --- src/port/next/include/sys/Makefile    Mon Mar 10 08:45:52 1997
  362. ***************
  363. *** 0 ****
  364. --- 1,77 ----
  365. + # ++Copyright++
  366. + # -
  367. + # Copyright (c) 
  368. + #    The Regents of the University of California.  All rights reserved.
  369. + # 
  370. + # Redistribution and use in source and binary forms, with or without
  371. + # modification, are permitted provided that the following conditions
  372. + # are met:
  373. + # 1. Redistributions of source code must retain the above copyright
  374. + #    notice, this list of conditions and the following disclaimer.
  375. + # 2. Redistributions in binary form must reproduce the above copyright
  376. + #    notice, this list of conditions and the following disclaimer in the
  377. + #    documentation and/or other materials provided with the distribution.
  378. + # 3. All advertising materials mentioning features or use of this software
  379. + #    must display the following acknowledgement:
  380. + #     This product includes software developed by the University of
  381. + #     California, Berkeley and its contributors.
  382. + # 4. Neither the name of the University nor the names of its contributors
  383. + #    may be used to endorse or promote products derived from this software
  384. + #    without specific prior written permission.
  385. + # 
  386. + # THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  387. + # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  388. + # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  389. + # ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  390. + # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  391. + # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  392. + # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  393. + # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  394. + # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  395. + # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  396. + # SUCH DAMAGE.
  397. + # -
  398. + # Portions Copyright (c) 1993 by Digital Equipment Corporation.
  399. + # 
  400. + # Permission to use, copy, modify, and distribute this software for any
  401. + # purpose with or without fee is hereby granted, provided that the above
  402. + # copyright notice and this permission notice appear in all copies, and that
  403. + # the name of Digital Equipment Corporation not be used in advertising or
  404. + # publicity pertaining to distribution of the document or software without
  405. + # specific, written prior permission.
  406. + # 
  407. + # THE SOFTWARE IS PROVIDED "AS IS" AND DIGITAL EQUIPMENT CORP. DISCLAIMS ALL
  408. + # WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES
  409. + # OF MERCHANTABILITY AND FITNESS.   IN NO EVENT SHALL DIGITAL EQUIPMENT
  410. + # CORPORATION BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
  411. + # DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
  412. + # PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
  413. + # ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  414. + # SOFTWARE.
  415. + # -
  416. + # --Copyright--
  417. + HFILES= bitypes.h cdefs.h
  418. + DESTDIR=
  419. + DESTINC= /usr/local/include
  420. + all depend:
  421. + distclean: clean
  422. + clean:
  423. +     rm -f *~ *.BAK *.CKP *.orig time.h stat.h
  424. + links:
  425. +     @set -e; ln -s SRC/*.h .
  426. + install: ${DESTDIR}${DESTINC}/sys
  427. +     for x in ${HFILES}; do \
  428. +         if [ -f $$x ]; then \
  429. +             ${INSTALL} -c -m 444 $$x ${DESTDIR}${DESTINC}/sys/$$x;\
  430. +         fi \
  431. +     done
  432. + ${DESTDIR}${DESTINC}/sys:
  433. +     mkdir -p ${DESTDIR}${DESTINC}/sys
  434. *** /dev/null    Sat May  3 19:58:24 1997
  435. --- src/port/next/include/sys/bitypes.h    Fri Jan  3 15:59:17 1997
  436. ***************
  437. *** 0 ****
  438. --- 1,37 ----
  439. + /*
  440. +  * Copyright (c) 1996 by Internet Software Consortium.
  441. +  *
  442. +  * Permission to use, copy, modify, and distribute this software for any
  443. +  * purpose with or without fee is hereby granted, provided that the above
  444. +  * copyright notice and this permission notice appear in all copies.
  445. +  *
  446. +  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
  447. +  * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
  448. +  * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
  449. +  * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
  450. +  * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
  451. +  * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
  452. +  * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  453. +  * SOFTWARE.
  454. +  */
  455. + #ifndef __BIT_TYPES_DEFINED__
  456. + #define __BIT_TYPES_DEFINED__
  457. +     /*
  458. +      * Basic integral types.  Omit the typedef if
  459. +      * not possible for a machine/compiler combination.
  460. +      */
  461. +     typedef /*signed*/ char            int8_t;
  462. +     typedef unsigned char            u_int8_t;
  463. +     typedef short                     int16_t;
  464. +     typedef unsigned short          u_int16_t;
  465. +     typedef int                       int32_t;
  466. +     typedef unsigned int            u_int32_t;
  467. + # if 0    /* don't fight with these unless you need them */
  468. +     typedef long long                 int64_t;
  469. +     typedef unsigned long long      u_int64_t;
  470. + # endif
  471. + #endif    /* __BIT_TYPES_DEFINED__ */
  472. *** /dev/null    Sat May  3 19:58:24 1997
  473. --- src/port/next/include/paths.h    Tue Dec 17 13:48:17 1996
  474. ***************
  475. *** 0 ****
  476. --- 1,2 ----
  477. + #define _PATH_DEVNULL "/dev/null"
  478. *** /dev/null    Sat May  3 19:58:24 1997
  479. --- src/port/next/noop.c    Sat May  3 12:27:46 1997
  480. ***************
  481. *** 0 ****
  482. --- 1,3 ----
  483. + int a_worthless_global_variable_to_satisfy_ranlib = 0;
  484. *** /dev/null    Sat May  3 19:58:24 1997
  485. --- src/port/next/probe    Wed Apr 30 22:33:01 1997
  486. ***************
  487. *** 0 ****
  488. --- 1,11 ----
  489. + #!/bin/sh
  490. + hostinfo=/usr/bin/hostinfo
  491. + if [ -f $hostinfo ]; then
  492. +     case `$hostinfo | grep NeXT | sed 's/.*NeXT.*/NeXT/g'` in
  493. +     NeXT) exit 0 ;;
  494. +     esac
  495. + fi
  496. + exit 1
  497. *** /dev/null    Sat May  3 19:58:24 1997
  498. --- src/port/next/README    Sat May  3 20:35:26 1997
  499. ***************
  500. *** 0 ****
  501. --- 1,32 ----
  502. + This is my first pass at porting BIND 8.x (T5B) to NeXTSTEP 3.3.
  503. + The port was done under NeXTSTEP 3.3, m68k with GCC 2.7.2,
  504. + snapshot 970314 and custom patches and installation. (I have
  505. + successfully compiled the code using NeXT's CC; however, I 
  506. + didn't try to run it.) The Makefile.set file in ports/next is
  507. + set to my GCC compiler version. I could have set it to NeXT's CC
  508. + but my environment is different and simply compiling with
  509. + NeXT's CC in my environment isn't a good indicator it will
  510. + compile cleanly in yours. :) 
  511. + Note: The compilation uses the POSIX option--so be sure to have
  512. + those patches. :) 
  513. + Note: The compilation process does not like the GCC header file
  514. + unistd.h. I did not look to see how to cleanly work around the
  515. + problem, so I deleted it. 
  516. + Note: There is a problem with the "irs" stuff. Specifically, it
  517. + does not compile cleanly and is missing NetInfo capabilities.
  518. + I'm not sure what to do about the irs issue and a request for help
  519. + to bind-workers went unanswered. For myself, I simply deleted
  520. + it from "SUBDIRS" in lib/Makefile and got on with it. You'll
  521. + have to do the same. 
  522. + Dennis Glatting
  523. + <mailto:dennis.glatting@software-munitions.com>
  524. + May, 1997
  525.